﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraEditors;
using System.Windows.Forms;
using System.Drawing;
namespace SchoolManagementSystem.Controls
{
   public static class ValidateControls
    {
       public static void Required(Control control)
       {
           control.Text = "(*)";
           control.ForeColor = Color.Red;
       }
       public static void NoneRequired(Control control)
       {
           control.Text = "";
           control.ForeColor = Color.Red;
       }
    }
}
